import {METHOD} from './config.js'
import {sendRequest, mobileUrl} from './base.js'

// 删除素材
export const MATERIAL_DELETE = 'material/batchDeleteMaterial/'

/**
 * 删除素材
 * @param passportId
 * @param params
 * @returns {*}
 */
export function batchDeleteMaterial(passportId, params) {
  return sendRequest(mobileUrl(MATERIAL_DELETE + passportId), params, METHOD.POST)
}
